package com.bfly.core.context.event;

import com.bfly.mall.tasks.entity.ScheduledTaskExecResult;
import org.springframework.context.ApplicationEvent;

/**
 * 计划任务执行完毕后事件
 *
 * @author 长沙商脉科技有限公司
 * @date 2019/7/27 20:24
 */
public class ScheduledTaskExecCompleteEvent extends ApplicationEvent {

    private ScheduledTaskExecResult execResult;

    public ScheduledTaskExecCompleteEvent(ScheduledTaskExecResult source) {
        super(source);
        this.execResult = source;
    }

    public ScheduledTaskExecResult getExecResult() {
        return execResult;
    }
}